
package com.idealighter.game.games.xzdd.struct;

import com.idealighter.game.core.tuple.Pair;

import java.util.ArrayList;
import java.util.List;

/**
 * 血战到底计算项信息 .
 * 
 * @date 2016年9月18日 下午1:44:31
 *
 */
public class XzddBillItem {
  // 座位顺序
  private int order;
  // 玩家名称
  private String playerName;
  // 类型(30:刮风,31:下雨,32:查花猪,33:查听,其他:胡牌)
  private int type;
  // 倍数
  private int multiple;
  // 结算金币
  private long golds;
  // 被结算金币的玩家(order和昵称)
  private List<Pair<Integer, String>> otherPlayers = new ArrayList<>();

  /**
   * 构造函数 .
   * 
   * @param order .
   * @param playerName .
   * @param type .
   * @param multiple .
   * @param golds .
   * @param otherPlayers .
   */
  public XzddBillItem(int order, String playerName, int type, int multiple, long golds,
      List<Pair<Integer, String>> otherPlayers) {
    this.order = order;
    this.playerName = playerName;
    this.type = type;
    this.multiple = multiple;
    this.golds = golds;
    this.otherPlayers = otherPlayers;
  }

  public int getOrder() {
    return order;
  }

  public void setOrder(int order) {
    this.order = order;
  }

  public String getPlayerName() {
    return playerName;
  }

  public void setPlayerName(String playerName) {
    this.playerName = playerName;
  }

  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public int getMultiple() {
    return multiple;
  }

  public void setMultiple(int multiple) {
    this.multiple = multiple;
  }

  public long getGolds() {
    return golds;
  }

  public void setGolds(long golds) {
    this.golds = golds;
  }

  public List<Pair<Integer, String>> getOtherPlayers() {
    return otherPlayers;
  }

  public void setOtherPlayers(List<Pair<Integer, String>> otherPlayers) {
    this.otherPlayers = otherPlayers;
  }

}
